package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_xhb_angle_intersection")
public class BhyfXhbAngleIntersection implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    /**
     * 学生ID
     */
    @ApiModelProperty(value = "学生ID")
    @TableId(value = "personid", type = IdType.ID_WORKER)
    private Long personid;

    /**
     * 伙伴ID
     */
    @ApiModelProperty(value = "伙伴ID")
    private Long otherid;

    /**
     * 共同时长
     */
    @ApiModelProperty(value = "共同时长")
    private Long seconds;

    /**
     * 日期
     */
    @ApiModelProperty(value = "日期")
    private Date checkdate;

    /**
     * 班级ID
     */
    @ApiModelProperty(value = "班级ID")
    private Integer classid;

    /**
     * 年级
     */
    @ApiModelProperty(value = "年级")
    private Integer gradenum;

    /**
     * 园ID
     */
    @ApiModelProperty(value = "园ID")
    private Integer gardenid;

    /**
     * 区角ID
     */
    @ApiModelProperty(value = "区角ID")
    private Integer angleid;

    /**
     * 区角名称
     */
    @ApiModelProperty(value = "区角名称")
    private String anglename;

    /**
     * 区角类型
     */
    @ApiModelProperty(value = "区角类型")
    private Integer angletype;

    /**
     * 区角班级ID
     */
    @ApiModelProperty(value = "区角班级ID")
    private Integer angleclassid;

    /**
     * 区角班级名称
     */
    @ApiModelProperty(value = "区角班级名称")
    private String angleclassname;

    /**
     * 区角年级
     */
    @ApiModelProperty(value = "区角年级")
    private Integer anglegradenum;

    /**
     * 区角园
     */
    @ApiModelProperty(value = "区角园")
    private Integer anglegardenid;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;


    public Long getPersonid() {
        return personid;
    }

    public void setPersonid(Long personid) {
        this.personid = personid;
    }

    public Long getOtherid() {
        return otherid;
    }

    public void setOtherid(Long otherid) {
        this.otherid = otherid;
    }

    public Long getSeconds() {
        return seconds;
    }

    public void setSeconds(Long seconds) {
        this.seconds = seconds;
    }

    public Date getCheckdate() {
        return checkdate;
    }

    public void setCheckdate(Date checkdate) {
        this.checkdate = checkdate;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    public Integer getGardenid() {
        return gardenid;
    }

    public void setGardenid(Integer gardenid) {
        this.gardenid = gardenid;
    }

    public Integer getAngleid() {
        return angleid;
    }

    public void setAngleid(Integer angleid) {
        this.angleid = angleid;
    }

    public String getAnglename() {
        return anglename;
    }

    public void setAnglename(String anglename) {
        this.anglename = anglename;
    }

    public Integer getAngletype() {
        return angletype;
    }

    public void setAngletype(Integer angletype) {
        this.angletype = angletype;
    }

    public Integer getAngleclassid() {
        return angleclassid;
    }

    public void setAngleclassid(Integer angleclassid) {
        this.angleclassid = angleclassid;
    }

    public String getAngleclassname() {
        return angleclassname;
    }

    public void setAngleclassname(String angleclassname) {
        this.angleclassname = angleclassname;
    }

    public Integer getAnglegradenum() {
        return anglegradenum;
    }

    public void setAnglegradenum(Integer anglegradenum) {
        this.anglegradenum = anglegradenum;
    }

    public Integer getAnglegardenid() {
        return anglegardenid;
    }

    public void setAnglegardenid(Integer anglegardenid) {
        this.anglegardenid = anglegardenid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "BhyfXhbAngleIntersection{" +
                "personid=" + personid +
                ", otherid=" + otherid +
                ", seconds=" + seconds +
                ", checkdate=" + checkdate +
                ", classid=" + classid +
                ", gradenum=" + gradenum +
                ", gardenid=" + gardenid +
                ", angleid=" + angleid +
                ", anglename=" + anglename +
                ", angletype=" + angletype +
                ", angleclassid=" + angleclassid +
                ", angleclassname=" + angleclassname +
                ", anglegradenum=" + anglegradenum +
                ", anglegardenid=" + anglegardenid +
                ", createtime=" + createtime +
                "}";
    }
}
